<template>
  <div id="app">
    <initMap ref="myMap"></initMap>
  </div>
</template>

<script>
import initMap from '@/map/OlMap'
export default {
  name: 'app',
  data(){
    return {
      center:[114.25,29.95],
      map:null,
      layer:null,
      eventKey:null
    }
  },
  components: {
    initMap
  },

}
</script>

<style>
html,body,#app{
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}
 
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100%;
  width: 100%
  /* margin-top: 60px; */
}

</style>
